<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid 用户id
 * @property int $user_id 主播id
 * @property int $gold 守护消耗金币数
 * @property int $free_time 免费时间
 * @property int $status 状态 0守护过 1守护中
 * @property int $ctime 创建时间
 */
class Guard extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_guard';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'user_id' => 'integer', 'gold' => 'integer', 'free_time' => 'integer', 'status' => 'integer', 'ctime' => 'integer'];
}
